﻿<UserControl x:Class="Fotofly.PhotoViewer.ImagePanel"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    Width="400" Height="300">
    <Canvas x:Name="layoutRoot" Background="White">
        <Border x:Name="greyBorder" BorderBrush="Gray" BorderThickness="3">
            <Border x:Name="whiteBorder" BorderBrush="White" BorderThickness="3">
                <Canvas x:Name="imageCanvas" >
                    <Image x:Name="photoImage" Height="0" Width="0" Stretch="UniformToFill" Margin="0" Source="" />
                </Canvas>
            </Border>
        </Border>
    </Canvas>
</UserControl>
